import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import("../views/Home.vue"),
  },
  {
    path: "/Chat",
    name: "ChatView",
    component: () => import("../views/ChatView copy.vue"),
  },
  {
    path: "/Draw",
    name: "DrawPic",
    component: () => import("../views/DrawPic.vue"),
  },
  {
    path: "/test2",
    name: "Test2",
    component: () => import("../views/test2.vue"),
  },
  {
    path: "/test3",
    name: "Test3",
    component: () => import("../views/tongue.vue"),
  },
  {
    path: "/lsc_test",
    name: "lsc-test",
    component: () => import("../views/lsc_test.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
